package com.scedu.dao;

import com.scedu.entity.Student;
import com.scedu.vo.QueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentDao {
    Student selectStudentById(Integer id); /* 查询 单个参数*/
    public List<Student> selectMultiParam(@Param("myname") String name, @Param("myage") Integer age); //查询 多个参数
    public  List<Student> selectMultiByJavaVo(QueryParam queryParam);// 查询 使用java对象
}
